速報APP / 教育 / Box2D Interactive Cogs

Box2D Interactive Cogs

價格:免費

更新日期:2015-04-09

檔案大小:1.4M

目前版本:1.3

版本需求:Android 2.3 以上版本

官方網站:http://www.linkedin.com/in/jcaseynz

Email:john.casey@gmail.com

Box2D Interactive Cogs(圖1)-速報App

Technical demonstration of how to use JBox 2D with Android's SurfaceView provides an example of how to use Revolute Joints and how to translate touch screen events into physical interactions within the Box 2D game world. Select a cog by tapping objects on screen. Make the cog rotate using a sweeping motion with one finger. The faster the sweeping gesture the faster the cogs will spin. This application is not a game but a technical demonstration of what is possible with Box2D and Android.

Box2D Interactive Cogs(圖2)-速報App

You can find the public GIT repository for this code here: https://github.com/jacasey/box2d-cogs

Box2D Interactive Cogs(圖3)-速報App